package com.yurendao.shop.goods.domain;

import java.util.ArrayList;
import java.util.List;

public class GoodsDescribeExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public GoodsDescribeExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andDescribeidIsNull() {
            addCriterion("describeid is null");
            return (Criteria) this;
        }

        public Criteria andDescribeidIsNotNull() {
            addCriterion("describeid is not null");
            return (Criteria) this;
        }

        public Criteria andDescribeidEqualTo(String value) {
            addCriterion("describeid =", value, "describeid");
            return (Criteria) this;
        }

        public Criteria andDescribeidNotEqualTo(String value) {
            addCriterion("describeid <>", value, "describeid");
            return (Criteria) this;
        }

        public Criteria andDescribeidGreaterThan(String value) {
            addCriterion("describeid >", value, "describeid");
            return (Criteria) this;
        }

        public Criteria andDescribeidGreaterThanOrEqualTo(String value) {
            addCriterion("describeid >=", value, "describeid");
            return (Criteria) this;
        }

        public Criteria andDescribeidLessThan(String value) {
            addCriterion("describeid <", value, "describeid");
            return (Criteria) this;
        }

        public Criteria andDescribeidLessThanOrEqualTo(String value) {
            addCriterion("describeid <=", value, "describeid");
            return (Criteria) this;
        }

        public Criteria andDescribeidLike(String value) {
            addCriterion("describeid like", value, "describeid");
            return (Criteria) this;
        }

        public Criteria andDescribeidNotLike(String value) {
            addCriterion("describeid not like", value, "describeid");
            return (Criteria) this;
        }

        public Criteria andDescribeidIn(List<String> values) {
            addCriterion("describeid in", values, "describeid");
            return (Criteria) this;
        }

        public Criteria andDescribeidNotIn(List<String> values) {
            addCriterion("describeid not in", values, "describeid");
            return (Criteria) this;
        }

        public Criteria andDescribeidBetween(String value1, String value2) {
            addCriterion("describeid between", value1, value2, "describeid");
            return (Criteria) this;
        }

        public Criteria andDescribeidNotBetween(String value1, String value2) {
            addCriterion("describeid not between", value1, value2, "describeid");
            return (Criteria) this;
        }

        public Criteria andGidIsNull() {
            addCriterion("gid is null");
            return (Criteria) this;
        }

        public Criteria andGidIsNotNull() {
            addCriterion("gid is not null");
            return (Criteria) this;
        }

        public Criteria andGidEqualTo(String value) {
            addCriterion("gid =", value, "gid");
            return (Criteria) this;
        }

        public Criteria andGidNotEqualTo(String value) {
            addCriterion("gid <>", value, "gid");
            return (Criteria) this;
        }

        public Criteria andGidGreaterThan(String value) {
            addCriterion("gid >", value, "gid");
            return (Criteria) this;
        }

        public Criteria andGidGreaterThanOrEqualTo(String value) {
            addCriterion("gid >=", value, "gid");
            return (Criteria) this;
        }

        public Criteria andGidLessThan(String value) {
            addCriterion("gid <", value, "gid");
            return (Criteria) this;
        }

        public Criteria andGidLessThanOrEqualTo(String value) {
            addCriterion("gid <=", value, "gid");
            return (Criteria) this;
        }

        public Criteria andGidLike(String value) {
            addCriterion("gid like", value, "gid");
            return (Criteria) this;
        }

        public Criteria andGidNotLike(String value) {
            addCriterion("gid not like", value, "gid");
            return (Criteria) this;
        }

        public Criteria andGidIn(List<String> values) {
            addCriterion("gid in", values, "gid");
            return (Criteria) this;
        }

        public Criteria andGidNotIn(List<String> values) {
            addCriterion("gid not in", values, "gid");
            return (Criteria) this;
        }

        public Criteria andGidBetween(String value1, String value2) {
            addCriterion("gid between", value1, value2, "gid");
            return (Criteria) this;
        }

        public Criteria andGidNotBetween(String value1, String value2) {
            addCriterion("gid not between", value1, value2, "gid");
            return (Criteria) this;
        }

        public Criteria andImageaIsNull() {
            addCriterion("imagea is null");
            return (Criteria) this;
        }

        public Criteria andImageaIsNotNull() {
            addCriterion("imagea is not null");
            return (Criteria) this;
        }

        public Criteria andImageaEqualTo(String value) {
            addCriterion("imagea =", value, "imagea");
            return (Criteria) this;
        }

        public Criteria andImageaNotEqualTo(String value) {
            addCriterion("imagea <>", value, "imagea");
            return (Criteria) this;
        }

        public Criteria andImageaGreaterThan(String value) {
            addCriterion("imagea >", value, "imagea");
            return (Criteria) this;
        }

        public Criteria andImageaGreaterThanOrEqualTo(String value) {
            addCriterion("imagea >=", value, "imagea");
            return (Criteria) this;
        }

        public Criteria andImageaLessThan(String value) {
            addCriterion("imagea <", value, "imagea");
            return (Criteria) this;
        }

        public Criteria andImageaLessThanOrEqualTo(String value) {
            addCriterion("imagea <=", value, "imagea");
            return (Criteria) this;
        }

        public Criteria andImageaLike(String value) {
            addCriterion("imagea like", value, "imagea");
            return (Criteria) this;
        }

        public Criteria andImageaNotLike(String value) {
            addCriterion("imagea not like", value, "imagea");
            return (Criteria) this;
        }

        public Criteria andImageaIn(List<String> values) {
            addCriterion("imagea in", values, "imagea");
            return (Criteria) this;
        }

        public Criteria andImageaNotIn(List<String> values) {
            addCriterion("imagea not in", values, "imagea");
            return (Criteria) this;
        }

        public Criteria andImageaBetween(String value1, String value2) {
            addCriterion("imagea between", value1, value2, "imagea");
            return (Criteria) this;
        }

        public Criteria andImageaNotBetween(String value1, String value2) {
            addCriterion("imagea not between", value1, value2, "imagea");
            return (Criteria) this;
        }

        public Criteria andImagebIsNull() {
            addCriterion("imageb is null");
            return (Criteria) this;
        }

        public Criteria andImagebIsNotNull() {
            addCriterion("imageb is not null");
            return (Criteria) this;
        }

        public Criteria andImagebEqualTo(String value) {
            addCriterion("imageb =", value, "imageb");
            return (Criteria) this;
        }

        public Criteria andImagebNotEqualTo(String value) {
            addCriterion("imageb <>", value, "imageb");
            return (Criteria) this;
        }

        public Criteria andImagebGreaterThan(String value) {
            addCriterion("imageb >", value, "imageb");
            return (Criteria) this;
        }

        public Criteria andImagebGreaterThanOrEqualTo(String value) {
            addCriterion("imageb >=", value, "imageb");
            return (Criteria) this;
        }

        public Criteria andImagebLessThan(String value) {
            addCriterion("imageb <", value, "imageb");
            return (Criteria) this;
        }

        public Criteria andImagebLessThanOrEqualTo(String value) {
            addCriterion("imageb <=", value, "imageb");
            return (Criteria) this;
        }

        public Criteria andImagebLike(String value) {
            addCriterion("imageb like", value, "imageb");
            return (Criteria) this;
        }

        public Criteria andImagebNotLike(String value) {
            addCriterion("imageb not like", value, "imageb");
            return (Criteria) this;
        }

        public Criteria andImagebIn(List<String> values) {
            addCriterion("imageb in", values, "imageb");
            return (Criteria) this;
        }

        public Criteria andImagebNotIn(List<String> values) {
            addCriterion("imageb not in", values, "imageb");
            return (Criteria) this;
        }

        public Criteria andImagebBetween(String value1, String value2) {
            addCriterion("imageb between", value1, value2, "imageb");
            return (Criteria) this;
        }

        public Criteria andImagebNotBetween(String value1, String value2) {
            addCriterion("imageb not between", value1, value2, "imageb");
            return (Criteria) this;
        }

        public Criteria andImagecIsNull() {
            addCriterion("imagec is null");
            return (Criteria) this;
        }

        public Criteria andImagecIsNotNull() {
            addCriterion("imagec is not null");
            return (Criteria) this;
        }

        public Criteria andImagecEqualTo(String value) {
            addCriterion("imagec =", value, "imagec");
            return (Criteria) this;
        }

        public Criteria andImagecNotEqualTo(String value) {
            addCriterion("imagec <>", value, "imagec");
            return (Criteria) this;
        }

        public Criteria andImagecGreaterThan(String value) {
            addCriterion("imagec >", value, "imagec");
            return (Criteria) this;
        }

        public Criteria andImagecGreaterThanOrEqualTo(String value) {
            addCriterion("imagec >=", value, "imagec");
            return (Criteria) this;
        }

        public Criteria andImagecLessThan(String value) {
            addCriterion("imagec <", value, "imagec");
            return (Criteria) this;
        }

        public Criteria andImagecLessThanOrEqualTo(String value) {
            addCriterion("imagec <=", value, "imagec");
            return (Criteria) this;
        }

        public Criteria andImagecLike(String value) {
            addCriterion("imagec like", value, "imagec");
            return (Criteria) this;
        }

        public Criteria andImagecNotLike(String value) {
            addCriterion("imagec not like", value, "imagec");
            return (Criteria) this;
        }

        public Criteria andImagecIn(List<String> values) {
            addCriterion("imagec in", values, "imagec");
            return (Criteria) this;
        }

        public Criteria andImagecNotIn(List<String> values) {
            addCriterion("imagec not in", values, "imagec");
            return (Criteria) this;
        }

        public Criteria andImagecBetween(String value1, String value2) {
            addCriterion("imagec between", value1, value2, "imagec");
            return (Criteria) this;
        }

        public Criteria andImagecNotBetween(String value1, String value2) {
            addCriterion("imagec not between", value1, value2, "imagec");
            return (Criteria) this;
        }

        public Criteria andImagedIsNull() {
            addCriterion("imaged is null");
            return (Criteria) this;
        }

        public Criteria andImagedIsNotNull() {
            addCriterion("imaged is not null");
            return (Criteria) this;
        }

        public Criteria andImagedEqualTo(String value) {
            addCriterion("imaged =", value, "imaged");
            return (Criteria) this;
        }

        public Criteria andImagedNotEqualTo(String value) {
            addCriterion("imaged <>", value, "imaged");
            return (Criteria) this;
        }

        public Criteria andImagedGreaterThan(String value) {
            addCriterion("imaged >", value, "imaged");
            return (Criteria) this;
        }

        public Criteria andImagedGreaterThanOrEqualTo(String value) {
            addCriterion("imaged >=", value, "imaged");
            return (Criteria) this;
        }

        public Criteria andImagedLessThan(String value) {
            addCriterion("imaged <", value, "imaged");
            return (Criteria) this;
        }

        public Criteria andImagedLessThanOrEqualTo(String value) {
            addCriterion("imaged <=", value, "imaged");
            return (Criteria) this;
        }

        public Criteria andImagedLike(String value) {
            addCriterion("imaged like", value, "imaged");
            return (Criteria) this;
        }

        public Criteria andImagedNotLike(String value) {
            addCriterion("imaged not like", value, "imaged");
            return (Criteria) this;
        }

        public Criteria andImagedIn(List<String> values) {
            addCriterion("imaged in", values, "imaged");
            return (Criteria) this;
        }

        public Criteria andImagedNotIn(List<String> values) {
            addCriterion("imaged not in", values, "imaged");
            return (Criteria) this;
        }

        public Criteria andImagedBetween(String value1, String value2) {
            addCriterion("imaged between", value1, value2, "imaged");
            return (Criteria) this;
        }

        public Criteria andImagedNotBetween(String value1, String value2) {
            addCriterion("imaged not between", value1, value2, "imaged");
            return (Criteria) this;
        }

        public Criteria andImageeIsNull() {
            addCriterion("imagee is null");
            return (Criteria) this;
        }

        public Criteria andImageeIsNotNull() {
            addCriterion("imagee is not null");
            return (Criteria) this;
        }

        public Criteria andImageeEqualTo(String value) {
            addCriterion("imagee =", value, "imagee");
            return (Criteria) this;
        }

        public Criteria andImageeNotEqualTo(String value) {
            addCriterion("imagee <>", value, "imagee");
            return (Criteria) this;
        }

        public Criteria andImageeGreaterThan(String value) {
            addCriterion("imagee >", value, "imagee");
            return (Criteria) this;
        }

        public Criteria andImageeGreaterThanOrEqualTo(String value) {
            addCriterion("imagee >=", value, "imagee");
            return (Criteria) this;
        }

        public Criteria andImageeLessThan(String value) {
            addCriterion("imagee <", value, "imagee");
            return (Criteria) this;
        }

        public Criteria andImageeLessThanOrEqualTo(String value) {
            addCriterion("imagee <=", value, "imagee");
            return (Criteria) this;
        }

        public Criteria andImageeLike(String value) {
            addCriterion("imagee like", value, "imagee");
            return (Criteria) this;
        }

        public Criteria andImageeNotLike(String value) {
            addCriterion("imagee not like", value, "imagee");
            return (Criteria) this;
        }

        public Criteria andImageeIn(List<String> values) {
            addCriterion("imagee in", values, "imagee");
            return (Criteria) this;
        }

        public Criteria andImageeNotIn(List<String> values) {
            addCriterion("imagee not in", values, "imagee");
            return (Criteria) this;
        }

        public Criteria andImageeBetween(String value1, String value2) {
            addCriterion("imagee between", value1, value2, "imagee");
            return (Criteria) this;
        }

        public Criteria andImageeNotBetween(String value1, String value2) {
            addCriterion("imagee not between", value1, value2, "imagee");
            return (Criteria) this;
        }

        public Criteria andImagefIsNull() {
            addCriterion("imagef is null");
            return (Criteria) this;
        }

        public Criteria andImagefIsNotNull() {
            addCriterion("imagef is not null");
            return (Criteria) this;
        }

        public Criteria andImagefEqualTo(String value) {
            addCriterion("imagef =", value, "imagef");
            return (Criteria) this;
        }

        public Criteria andImagefNotEqualTo(String value) {
            addCriterion("imagef <>", value, "imagef");
            return (Criteria) this;
        }

        public Criteria andImagefGreaterThan(String value) {
            addCriterion("imagef >", value, "imagef");
            return (Criteria) this;
        }

        public Criteria andImagefGreaterThanOrEqualTo(String value) {
            addCriterion("imagef >=", value, "imagef");
            return (Criteria) this;
        }

        public Criteria andImagefLessThan(String value) {
            addCriterion("imagef <", value, "imagef");
            return (Criteria) this;
        }

        public Criteria andImagefLessThanOrEqualTo(String value) {
            addCriterion("imagef <=", value, "imagef");
            return (Criteria) this;
        }

        public Criteria andImagefLike(String value) {
            addCriterion("imagef like", value, "imagef");
            return (Criteria) this;
        }

        public Criteria andImagefNotLike(String value) {
            addCriterion("imagef not like", value, "imagef");
            return (Criteria) this;
        }

        public Criteria andImagefIn(List<String> values) {
            addCriterion("imagef in", values, "imagef");
            return (Criteria) this;
        }

        public Criteria andImagefNotIn(List<String> values) {
            addCriterion("imagef not in", values, "imagef");
            return (Criteria) this;
        }

        public Criteria andImagefBetween(String value1, String value2) {
            addCriterion("imagef between", value1, value2, "imagef");
            return (Criteria) this;
        }

        public Criteria andImagefNotBetween(String value1, String value2) {
            addCriterion("imagef not between", value1, value2, "imagef");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}